
extern	void	BattleFrontierSubroutine(void);
extern	void	BattleFrontierSaveAct(void);
extern	u8		BattleMasterChrGet(void);
extern	u8		BattleMasterTypeGet(void);
extern	void	BattleMasterNameGet(u8 *buf);
extern	u8		BattleMasterSexGet(void);
extern	void	BattleMasterFObjSet(void);
extern	void	BattleMasterPokemonSet(void);
extern	u8		BattleFrontierMasterChallengeCheck(void);
extern	void	BattleFrontierRollBackAct(void);
extern	void	BattleFrontierKaiwaGet(u8 mode,u16 tr_no);
extern	u16		BattleFrontierWinRecordGet(void);
extern	void	BattleFrontierTrainerNoStockClear(void);

extern	u16		BattleMasterPokeNoGet(u8 no);
extern	u16		BattleMasterPokeWazaNoGet(u8 no,u8 pos);
extern	u8		BattleMasterPokeChrGet(u8 no);
extern	u8		BattleMasterPokeExpGet(u8 no,u8 exp);

extern	void	BattleFrontierPokeCheckAct(u16,u16,u16,u8,u8,u16 *,u16 *,u8 *);

extern	int		BattleMasterSymbolGet(void);

extern	void 	BattleFrontierRestockWaza(void);

enum{
	KAIWA_GET_AISATSU=0,
	KAIWA_GET_WIN,
	KAIWA_GET_LOSE,
};

extern	const u16 BattleFrontierNoChallenge[];

